<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:43:"./template/mobile/rainbow/user\tuandui.html";i:1543386459;s:53:"E:\www\zhu\template\mobile\rainbow\public\header.html";i:1541753410;s:57:"E:\www\zhu\template\mobile\rainbow\public\header_nav.html";i:1541667120;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>团队管理--<?php echo $tpshop_config['shop_info_store_title']; ?></title>
    <link rel="stylesheet" href="/template/mobile/rainbow/static/css/style.css">
    <link rel="stylesheet" type="text/css" href="/template/mobile/rainbow/static/css/iconfont.css"/>
    <script src="/template/mobile/rainbow/static/js/jquery-3.1.1.min.js" type="text/javascript" charset="utf-8"></script>
    <!--<script src="/template/mobile/rainbow/static/js/zepto-1.2.0-min.js" type="text/javascript" charset="utf-8"></script>-->
    <script src="/template/mobile/rainbow/static/js/style.js" type="text/javascript" charset="utf-8"></script>
    <script src="/template/mobile/rainbow/static/js/mobile-util.js" type="text/javascript" charset="utf-8"></script>
    <script src="/public/js/global.js"></script>
    <script src="/template/mobile/rainbow/static/js/layer.js"  type="text/javascript" ></script>
    <script src="/template/mobile/rainbow/static/js/swipeSlide.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="shortcut icon" type="image/x-icon" href="<?php echo (isset($tpshop_config['shop_info_store_ico']) && ($tpshop_config['shop_info_store_ico'] !== '')?$tpshop_config['shop_info_store_ico']:'/public/static/images/logo/storeico_default.png'); ?>" media="screen"/>
    
</head>
<body class="">

<div class="classreturn loginsignup ">
    <div class="content">
        <div class="ds-in-bl return">
            <a href="javascript:history.back(-1)"><img src="/template/mobile/rainbow/static/images/return.png" alt="返回"></a>
        </div>
        <div class="ds-in-bl search center">
            <span>团队管理</span>
        </div>
        <!-- <div class="ds-in-bl menu">
            <a href="javascript:void(0);"><img src="/template/mobile/rainbow/static/images/class1.png" alt="菜单"></a>
        </div> -->
    </div>
</div>
<div class="flool tpnavf">
    <div class="footer">
        <ul>
            <li>
                <a class="yello" href="<?php echo U('Index/index'); ?>">
                    <div class="icon">
                        <i class="icon-shouye iconfont"></i>
                        <p>首页</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="<?php echo U('Goods/categoryList'); ?>">
                    <div class="icon">
                        <i class="icon-fenlei iconfont"></i>
                        <p>分类</p>
                    </div>
                </a>
            </li>
            <li>
                <!--<a href="shopcar.html">-->
                <a href="<?php echo U('Cart/index'); ?>">
                    <div class="icon">
                        <i class="icon-gouwuche iconfont"></i>
                        <p>购物车</p>
                    </div>
                </a>
            </li>
            <li>
                <a href="<?php echo U('User/index'); ?>">
                    <div class="icon">
                        <i class="icon-wode iconfont"></i>
                        <p>我的</p>
                    </div>
                </a>
            </li>
        </ul>
    </div>
</div>
<div class="application-record">
    <div class="maleri30">
        <ul class="re_tit">
            <li class="li1" style="width:10%;font-size: 18px;"><span>ID</span></li>
            <li class="li2" style="width:23%;font-size: 18px;"><span>用户账号</span></li>
            <li class="li3" style="width:23%;font-size: 18px;"><span>等级</span></li>
            <li class="li1" style="width:12%;font-size: 18px;"><span>直推用户</span></li>
           <!--  <li class="li1" style="width:10%;font-size: 18px;"><span>个人</span></li> -->
            <li class="li1" style="width:10%;font-size: 18px;"><span>总业绩</span></li>
            <li class="li1" style="width:18%;font-size: 18px;"><span>大市场业绩</span></li>
        </ul>
        <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $key=>$v): ?>
            <ul>
                <li class="li1" style="width:10%;font-size: 18px;"><span><?php echo $v[user_id]; ?></span></li>
                <li class="li2" style="width:23%;font-size: 18px;overflow: hidden;"><span><?php echo $v[nickname]; ?></span></li>
                <li class="li3" style="width:23%;font-size: 18px;"><span class="red" style="text-align: center;">
                    <?php if($v[level] == 1): ?>注册会员<?php endif; if($v[level] == 2): ?>VIP会员<?php endif; if($v[level] == 3): ?>经销商<?php endif; if($v[level] == 4): ?>代理商<?php endif; if($v[level] == 5): ?>合伙人<?php endif; if($v[level] == 6): ?>股东<?php endif; ?>
                </span></li>
                <li class="li1" style="width:12%;font-size: 18px;"><span style="text-align: center;"><?php echo $v[count]; ?></span></li>
                <!-- <li class="li1" style="width:10%;font-size: 18px;"><span style="text-align: center;"><?php echo $v[user_amount]; ?></span></li> -->
                <li class="li1" style="width:10%;font-size: 18px;"><span style="text-align: center;"><?php echo $v[amount]; ?></span></li>
                <li class="li1" style="width:18%;font-size: 18px;"><span style="text-align: center;"><?php echo $v[max]; ?></span></li>
            </ul>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <div id="getmore"  style="font-size:.32rem;text-align: center;color:#888;padding:.25rem .24rem .4rem; clear:both;display: none">
        <a >已显示完所有记录</a>
    </div>
    <script type="text/javascript" src="/template/mobile/rainbow/static/js/sourch_submit.js"></script>
</div>
<script>
    var page = 1;
    function ajax_sourch_submit(){
        page++;
        $.ajax({
            type:'GET',
            url:'/index.php/Mobile/User/withdrawals_list/is_ajax/1/p/'+page,
            success:function(data){
                if($.trim(data)==''){
                    $('#getmore').show();
                    return false;
                }else{
                    $('.maleri30').append(data);
                }
            }
        });
    }
</script>
</body>
</html>
